#ifndef _CMD_
#define _CMD_
#include "usr_xdma.h"
#include "cmd.h"

#define NAMED_PIPE_PATH    "/tmp/UCAS_CMD_NAMED_PIPE"

enum inj_cmd
{
    CMD_START = 1,
    CMD_STOP,
    CMD_MAX,
};

int cmd_handle(int cmd_channel_fd, xdma_usr_dev *xdma_dev);
int create_cmd_trans_channel(void);

#endif
